package org.jeecg.modules.system.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.system.entity.ProductionStatusEntity;
import org.springframework.stereotype.Component;

@Component
public interface ProductionStatusMapper {
    IPage<ProductionStatusEntity> getProductionStatusList(Page<ProductionStatusEntity> page, @Param("code") String code,@Param("category")  String category);

    int addProductionStatus(ProductionStatusEntity entity);

    int deleteProductionStatus(@Param("id") int id);

    int updateProductionStatus(@Param("id") int id,@Param("status") int status);

    ProductionStatusEntity getdetail(@Param("id") int id);

    int updateProductionStatusdetail(ProductionStatusEntity entity);
}
